 <%@ page language="java" contentType="text/html; charset=UTF-8" import="java.util.*"
    pageEncoding="UTF-8"%>
    <%String path=request.getContextPath(); %>
<!DOCTYPE html>
 
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>BONC简历操作中心</title>
		<jsp:include page="import.jsp"/>
		<link href="<%= path%>/css/basicPage/detailSelect.css" rel="stylesheet" />
	</head>

	<body style="background-color: #f4f5f8;">
	
		<jsp:include page="head.jsp"></jsp:include>
	<div id="content-container">
        <div class="container">
        	
			<div class="row">
				<div class="col-md-12" style="background-color: #fff;">

					<div id="total_div">
						 
						<div id="Dashboard_div" class="glyphicon glyphicon-list">高级搜索</div>
						
						<div id="resume_select_div">
								<div class="input-group">
									<form action="<%= path%>/detailSelect/seniorQuery"
										method="post">
										 
										<div><span id="old_select" style="width:800px;"></span></div><br/>
										 
										<select id="select_tiaojian" class="form-control" style="width: 100px;margin-left: 100px;">
												<option id="alltiaojian"   name="" selected="selected" value="">添加条件</option>
		                                        <option id="xueli" name="" >学历</option>
		                                        <option id="xingbie" name="" >性别</option> 
		                                        <option id="nianxian" name="" >工作年限</option>
		                                        <option id="xuexiao" name="" >学校</option>
		                                        <option id="gongsi" name=""  >公司</option>
		                                        <option id="qiuzhi" name="" >求职意向</option> 
		                                        <option id="jingli" name="" >工作经历</option>
		                                        
		                                        
		                                </select>
										 <button id="add_tiaojian_btn" class="form-control btn btn-default glyphicon glyphicon-plus" type="button" style="width: 40px;margin-top: -1px;"></button>
										 <span  class="" style="margin-left: 100px; width: 200px;">
											<button class="btn btn-default" type="submit" style=" width: 100px;">Go!</button>
										</span>
										
										
										 <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/></span>
										 <!-- 学历 -->
										<div id="xueli_div" class="error">
											<label id="xueli_label" class="form-control" style="width: 100px;margin-left: 100px;">选择学历：</label>
											  
											<select id="degree" name="degree" class="form-control" style="width: 100px; ">
													<option id="all"   name=""  value="">不限</option>
			                                        <option id="name1" name="" ${sessionQueryEntity.degree=="博士"?'selected':''}>博士</option>
			                                        <option id="shuo1" name="" ${sessionQueryEntity.degree=="硕士"?'selected':''}>硕士</option> 
			                                        <option id="ben1" name=""  ${sessionQueryEntity.degree=="本科"?'selected':''}>本科</option>
			                                        <option id="zhuan1" name="" ${sessionQueryEntity.degree=="大专"?'selected':''}>专科</option>
			                                        
			                                </select>
			                                 <button id="xueli_img" class="form-control btn btn-default glyphicon glyphicon-remove" type="button" style="width: 40px;margin-top: -1px;"></button>
			                                 
		                                </div>
										
										 <!--性别 -->
										<div id="xingbie_div" class="error">
											    
				                                <label class="form-control" style="width: 100px;margin-left: 100px;">选择性别：</label>
												  
												<select id="gender" name="gender" class="form-control" style="width: 100px;">
												 		<option id="all"  name=""  value="">不限</option>
				                                        <option id="nan1" name="" ${sessionQueryEntity.gender=="男"?'selected':''}>男</option>
				                                        <option id="nv1" name="" ${sessionQueryEntity.gender=="女"?'selected':''}>女</option> 
				                                       
				                                </select>
			                                  <button id="xingbie_img" class="form-control btn btn-default glyphicon glyphicon-remove" type="button" style="width: 40px;margin-top: -1px;"></button>
			                                 
		                                </div>
		                                
		                                 <!-- 工作年限 -->
		                                <div id="nianxian_div" class="error">
											  
			                                <label class="form-control" style="width: 100px;margin-left: 100px;">工作年限：</label>
											  
											<select id="workingExperience" name="workingExperience" class="form-control" style="width: 100px;">
											 		<option id="allYear" name="" value="">不限</option> 
			                                        <option id="lowOne" name=""  value="0-1" ${sessionQueryEntity.workingExperience=="0-1"?'selected':''}>1年以下</option>
			                                        <option id="oneToThree"  name=""  value="1-3" ${sessionQueryEntity.workingExperience=="1-3"?'selected':''}>1-3年</option>
			                                        <option id="threeToFive"  name=""  value="3-5" ${sessionQueryEntity.workingExperience=="3-5"?'selected':''}>3-5年</option>
			                                        <option id="fiveToSeven"  name=""  value="5-7" ${sessionQueryEntity.workingExperience=="5-7"?'selected':''}>5-7年</option>
			                                        <option id="upSeven" name=""  value="7-20" ${sessionQueryEntity.workingExperience=="7-20"?'selected':''}>7年以上</option> 
			                                       
			                                </select>
		                                 <button id="nianxian_img" class="form-control btn btn-default glyphicon glyphicon-remove" type="button" style="width: 40px;margin-top: -1px;"></button>
			                                 
			                             </div>
		                                
		                                
		                                
		                                <!--学校 -->
		                                <div id="xuexiao_div" class="error">
		                                 
											 <label class="form-control" style="width: 100px;margin-left: 100px;">学校搜索：</label>
		                                	<input id="education" type="text" name="education" class="form-control"
											style="width: 350px;" placeholder="输入条件以检索"  value="${sessionQueryEntity.education}"/> 
			                                 <button id="xuexiao_img" class="form-control btn btn-default glyphicon glyphicon-remove" type="button" style="width: 40px;margin-top: -1px;"></button>
			                                 </div>
		                                
		                                <!--公司 -->
		                                <div id="gongsi_div" class="error">
										  	   
		                                <label class="form-control" style="width: 100px;margin-left: 100px;">公司：</label>
		                                <input id="company" type="text" name="company" class="form-control"
											style="width: 350px;" placeholder="输入条件以检索" value="${sessionQueryEntity.company}"/> 
											<button id="gongsi_img" class="form-control btn btn-default glyphicon glyphicon-remove" type="button" style="width: 40px;margin-top: -1px;"></button>
			                               </div>
		                                
		                                <!--求职意向 -->
		                                <div id="qiuzhi_div" class="error">
		                                 
											  <label class="form-control" style="width: 100px;margin-left: 100px;">求职意向：</label>
		                                <input id="careerObjective" type="text" name="careerObjective" class="form-control"
											style="width: 350px;" placeholder="输入条件以检索" value="${sessionQueryEntity.careerObjective}"/> 
			                                 <button id="qiuzhi_img" class="form-control btn btn-default glyphicon glyphicon-remove" type="button" style="width: 40px;margin-top: -1px;"></button>
			                             </div>
		                                
		                                <!--  工作经历 -->
		                                <div id="jingli_div" class="error">
										 
		                                <label class="form-control" style="width: 100px;margin-left: 100px;">工作经历：</label>
		                                <input id="workExperience" type="text" name="workExperience" class="form-control"
											style="width: 350px;" placeholder="输入条件以检索" value="${sessionQueryEntity.workExperience}"/> 
										 <button id="jingli_img" class="form-control btn btn-default glyphicon glyphicon-remove" type="button" style="width: 40px;margin-top: -1px;"></button>
			                               
			                             </div>
		                                
		                               
		                                
              
		                                
		                                 
										
										
										
										
										
									
									</form>
								</div>
							</div>
							 
						 
						<div id="select_div2">
							<div id="select_top2" >
								<p style="padding-left: 20px;" class="glyphicon glyphicon-list">简历详情</p>
							</div>

							<div style="padding-top: 10px">
								<!-- 列表框框  显示   热门 简历 最近简历等 。。   start-->

								<div style="width: 100%; background-color: #fff;">
									<div id="wizard">
										
										
										<!--
                        	作者：牛贵敏
                        	时间：2016-11-09
                        	描述：  1 热门简历
                        -->
										<div style="width: 100%; background-color: #fff;">
											<table id="BookTable" class="table table-striped table-bordered table-hover">
												<thead>
													<tr class="tableHead">
														<th width="10%">姓名</th>
														<th width="10%">年龄</th>
														<th width="10%">学校</th>
														<th width="10%">电话</th>
														<th width="10%">Email</th>
														<th width="10%">查看</th>
													</tr>
												</thead>

												<tbody>
													<%
														List<Map<String, Object>> list = (List<Map<String, Object>>) request.getAttribute("resultList");
														if (list != null) {

															Iterator<Map<String, Object>> it = list.iterator();
															while (it.hasNext()) {
																Map map = it.next();
													%>
													<tr>
														<td title="<%=map.get("name")%>"><%=map.get("name")%></td>
														<td title="<%=map.get("age")%>"><%=map.get("age")%></td>
														<td title="<%=map.get("education")%>"><%=map.get("education")%></td>
														<td title="<%=map.get("phoneNum")%>"><%=map.get("phoneNum")%></td>
														<td title="<%=map.get("email")%>"><%=map.get("email")%></td>
														<td><a href="<%= path%>/personalResume?id=<%=map.get("id")%>">查看</a></td>
													</tr>
													<%
														}
														}
													%>
 
												</tbody>

											</table>

											<!-- 页码变化 start-->

											<div>

												<form id="" action="" method="post">
												<a id="first" class="btn btn-default btn-sm"
													href="<%= path%>/detailSelect/seniorQuery?tag=true&&pageNo=0">首页</a>
												<a id="previous" class="btn btn-default btn-sm"
													href="<%= path%>/detailSelect/seniorQuery?tag=true&&pageNo=${requestScope.pageDataMap.pageIndex-1
												<=0?0:requestScope.pageDataMap.pageIndex-1} ">
													上一页</a> <a id="next" class="btn btn-default btn-sm "
													href="<%= path%>/detailSelect/seniorQuery?tag=true&&pageNo=${requestScope.pageDataMap.pageIndex+1>=requestScope.pageDataMap.totalPage?requestScope.pageDataMap.totalPage-1:requestScope.pageDataMap.pageIndex+1}">
													下一页</a><a id="last" class="btn btn-default btn-sm"
													href="<%= path%>/detailSelect/seniorQuery?tag=true&&pageNo=${requestScope.pageDataMap.totalPage-1}">尾页</a>
												<span class="mySpan"> <span>当前第${requestScope.pageDataMap.pageIndex+1}页</span>
													<span>共${requestScope.pageDataMap.totalCount}条记录
												</span> <span>共${requestScope.pageDataMap.totalPage}页</span>
													<span>每页10条</span>
													
												</form>

											</div>

											<!-- 页码变化 end-->

										</div>
									</div>
									<!--end-->
								</div>

								<!--end-->
							</div>

						</div>

						<!-- end -->
					</div>

				</div>
			</div>

		</div>
</div>

<script type="text/javascript" src="<%=path%>/js/rmsFunction/detailSelect.js"></script>
	</body>

</html>